<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>模板</title>

</head>
<body>
<!--background-color="#545c64"-->

<div th:fragment="controller">
    <el-aside width="200px" style="background-color: #545c64;height:100%; margin:0px;">
        <el-menu
                background-color="#545c64"
                text-color="#fff"
                active-text-color="#ffd04b"
                class="el-menu-vertical-demo">
            <div style="padding: 20px 0px;text-align: center;font-size: 20px;color: #9d9d9d;line-height: 40px;height: 40px;">
                <img style="height:40px;" th:src="@{/js/logo.png}" alt="">
            </div>
            <el-menu-item @click="window.location.href = '../front'" index="1">
                <i class="el-icon-menu"></i>
                <span slot="title">前台管理</span>
            </el-menu-item>
            <el-menu-item @click="window.location.href = '../food'" index="2">
                <i class="el-icon-goods"></i>
                <span slot="title">菜品管理</span>
            </el-menu-item>
            <el-menu-item @click="window.location.href = '../order'" index="3">
                <i class="el-icon-tickets"></i>
                <span slot="title">订单管理</span>
            </el-menu-item>
            <el-menu-item @click="window.location.href = '../reservation'" index="4">
                <i class="el-icon-phone"></i>
                <span slot="title">预约管理</span>
            </el-menu-item>
            <el-menu-item @click="window.location.href = '../myinfo'" index="4">
                <i class="el-icon-user"></i>
                <span slot="title">我的信息</span>
            </el-menu-item>
            <el-menu-item @click="window.location.href = '../user/logout'" index="4">
                <i class="el-icon-circle-close"></i>
                <span slot="title">退出</span>
            </el-menu-item>
        </el-menu>
    </el-aside>
</div>


</body>
</html>